//系统设置模块
//导入express模块
const express = require('express')
//使用express创建路由
const router = express.Router()
//导入系统设置的路由处理模块
const settingHander = require('../router_handle/setting')

//上传轮播图
router.post('/uploadSwiper',settingHander.uploadSwiper)
//获取所有轮播图
router.post('/getAllSwiper',settingHander.getAllSwiper)
//获取公司名称
router.post('/getCompanyName',settingHander.getCompanyName)
//修改公司名字 
router.post('/changeCompanyName',settingHander.changeCompanyName)
// 编辑公司介绍接口
router.post('/changeCompanyIntroduce',settingHander.changeCompanyIntroduce)
// 获取公司介绍 
router.post('/getCompanyIntroduce',settingHander.getCompanyIntroduce)
//获取所有公司信息
router.post('/getAllCompanyIntroduce',settingHander.getAllCompanyIntroduce)

//----------其他设置
//部门设置
router.post('/setDepartment',settingHander.setDepartment)
//获取部门
router.post('/getDepartment',settingHander.getDepartment)
//产品设置
router.post('/setProduct',settingHander.setProduct)
//获取产品
router.post('/getProduct',settingHander.getProduct)







//对外暴露路由
module.exports = router